.class public Lrexsee/flash/FlashDiv;
.super Lrexsee/core/widget/Div;
.source "FlashDiv.java"


# instance fields
.field public final flashView:Lrexsee/flash/FlashView;


# direct methods
.method public constructor <init>(Lrexsee/core/browser/Browser;Ljava/lang/String;Ljava/lang/String;)V
    .locals 2
    .param p1, "browser"    # Lrexsee/core/browser/Browser;
    .param p2, "style"    # Ljava/lang/String;
    .param p3, "swf"    # Ljava/lang/String;

    .prologue
    .line 12
    invoke-virtual {p1}, Lrexsee/core/browser/Browser;->getContext()Landroid/content/Context;

    move-result-object v0

    invoke-direct {p0, v0}, Lrexsee/core/widget/Div;-><init>(Landroid/content/Context;)V

    .line 14
    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "width:100%;height:100%;weight:1;border-width:0px;background-color:transparent;"

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, v0}, Lrexsee/flash/FlashDiv;->setDivStyle(Ljava/lang/String;)V

    .line 15
    new-instance v0, Lrexsee/flash/FlashView;

    invoke-direct {v0, p1, p3}, Lrexsee/flash/FlashView;-><init>(Lrexsee/core/browser/Browser;Ljava/lang/String;)V

    iput-object v0, p0, Lrexsee/flash/FlashDiv;->flashView:Lrexsee/flash/FlashView;

    .line 16
    iget-object v0, p0, Lrexsee/flash/FlashDiv;->flashView:Lrexsee/flash/FlashView;

    invoke-virtual {p0, v0}, Lrexsee/flash/FlashDiv;->addChild(Landroid/view/View;)V

    .line 18
    return-void
.end method
